package com.sx.domain.dto;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.List;

@Data
public class GetLessonIdRspDTO {
    @SerializedName("IS_SIMPLE")
    private boolean isSimple;
    @SerializedName("prev_id")
    private long prevId;
    private List<Activity> activities;

    @Data
    public static class Activity {
        private int type;
        private long id;
        @SerializedName("courseware_id")
        private String coursewareId;
        private String title;
        @SerializedName("create_time")
        private long createTime;
        @SerializedName("attend_status")
        private boolean attendStatus;
        @SerializedName("is_finished")
        private boolean isFinished;
    }
}
